package com.javatiaocao.myblog.service;

import com.javatiaocao.myblog.model.Reward;
import com.javatiaocao.myblog.utils.DataMap;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;

public interface RewardService {
    DataMap getRewardInfo();

    DataMap addReward(MultipartFile file, HttpServletRequest request, Reward reward);

    DataMap deleteReward(Reward reward);
}
